﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using VRTK;

public class MyControllerManager : MonoBehaviour
{

    public SteamVR_ControllerManager controllerManager;

    public static MyControllerManager instance;

    void Awake()
    {
        instance = this;
        
    }

    /// <summary>
    /// 禁用双手柄
    /// </summary>
    public void DisableController()
    {
        Debug.Log("--Disable");
        controllerManager.enabled = false;
    }

    public void EnableController()
    {
        print("---Enable");
        controllerManager.enabled = true;
    }

}
